gulp        = require 'gulp'
runSequence = require 'run-sequence'

gulp.task 'default', -> # mock环境
    runSequence('clean', [
        'styles'
        'scripts'
        'test'
        'bower'
        'ionic_sass'
        'assets'
        'mocks'
        'mockIndex'
    ])

gulp.task 'defaultReal', -> # 正式环境
    runSequence('clean', [
        'styles'
        'scripts'
        'bower'
        'ionic_sass'
        'assets'
        'index'
    ])

gulp.task 'defaultTest', -> # 测试机环境
    runSequence('clean', [
        'styles'
        'scripts'
        'bower'
        'ionic_sass'
        'assets'
        'index_test'
    ])

gulp.task 'defaultModal', -> # 测试机环境
    runSequence('clean', [
        'styles'
        'scripts'
        'bower'
        'ionic_sass'
        'assets'
        'index_modal'
    ])

